package com.fqgj.sentry.policy.server;

import com.fqgj.sentry.policy.client.PcTripleCallRecordService;
import com.fqgj.sentry.policy.dao.PcTripleCallRecordDao;
import com.fqgj.sentry.policy.entity.PcTripleCallRecordEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * User: liupengpeng
 * Date: 2018-01-09
 * Time: 12:08:11.031
 */
@Service
public class PcTripleCallRecordServiceImpl implements PcTripleCallRecordService {
    @Autowired
    private PcTripleCallRecordDao tripleCallRecordDao;

    /**
     * 插入数据
     *
     * @param entity
     * @return
     */
    @Override
    public PcTripleCallRecordEntity save(PcTripleCallRecordEntity entity) {
        return tripleCallRecordDao.insert(entity);
    }
}